package com.lin.csdn.model.po;


import com.lin.csdn.utils.PoolConnection;

import java.util.ArrayList;
import java.util.List;

public class PoolState {
    private final List<PoolConnection> activeConnections = new ArrayList<>();
    private final List<PoolConnection> idleConnections = new ArrayList<>();

    public List<PoolConnection> getActiveConnections() {
        return activeConnections;
    }

    public List<PoolConnection> getIdleConnections() {
        return idleConnections;
    }
}
